﻿using System;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore.ChangeTracking;
using Solution.Entity.Entitys;

namespace Solution.Services.User
{
    public interface IUserServices
    {
        SysUser Add();

        SysUser Get(string id);

        dynamic GetPage(int startPage, int pageSize, out int rowCount,
            Expression<Func<SysUser, bool>> predicate, Expression<Func<SysUser, dynamic>> order, bool isAcs);
    }
}